package com.yocard.yxyd.ui.contract;

import android.app.Activity;
import android.net.Uri;
import android.widget.ImageView;

import com.yocard.yxyd.base.BasePresenter;
import com.yocard.yxyd.base.BaseView;

import java.util.List;

/**
 * Created on 2019/4/9.
 */
public interface ChargeContract {
    interface View extends BaseView {
        void uploadSuccess(String type,String picId,ImageView iv,Uri localPath);
        void onCommitSuccess();
    }

    interface Presenter extends BasePresenter<View> {
        void selectImage(Activity activity,int requestCode);
        void uploadImage(String type, String fileUrl, ImageView iv,Uri localPath);
        void commitRefund(String id,String mark, List<String> urls);
    }
}
